home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 6037 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: informatik.tu-muenchen.de!fischerj
  2. From: fischerj@Informatik.TU-Muenchen.DE (Juergen "Rally" Fischer)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Difference between 020 & 030 optimisation?
  5. Date: 23 Mar 1996 05:58:15 GMT
  6. Organization: Technische Universitaet Muenchen, Germany
  7. Distribution: world
  8. Message-ID: <4j03tn$s3p@sunsystem5.informatik.tu-muenchen.de>
  9. References: <38232880@kone.fipnet.fi> <Do4DHD.By3@cix.compulink.co.uk> <4i3ndh$2bvs@columba.udac.uu.se> <cpc16-1803961527050001@mac002.joh.cam.ac.uk>
  10. NNTP-Posting-Host: hphalle5.informatik.tu-muenchen.de
  11. X-Newsreader: TIN [version 1.2 PL2]
  12.  
  13. Chris Colman (cpc16@mp-s.phy.cam.ac.uk) wrote:
  14.  
  15. : Data cache can make quite a large difference in e.g Wolfenstein-style
  16. : wallmapping games where rotating the textures by 90 degrees causes many
  17. : data cache hits.
  18.  
  19. wow indeed with horiz reading wallmapper you read withing same
  20. longword again (when not unscaling more than about factor 1/3).
  21.  
  22. how fast is a move.l (a0),d0 from datacache. somebody can test please ?
  23. 4 cycles ?
  24.  
  25. what about (a0)+,(a1)+. "is faster on 030" only can mean 4 cycles
  26. as it normally needs 6.
  27.  
  28. to test this, i suggest to use this loop
  29.  
  30. REPT
  31.  move.b (a0),(a1)+
  32.  move.l d0,d0
  33.  
  34. if both instructions need 6 cycles it's good.
  35.  
  36. : Chris Colman (Findus)
  37. : cpc16@mp-s.phy.cam.ac.uk
  38. : A4000/030/10/120  ..060 on its way.......
  39.